home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD 5.bin / workbench / tools / czesc_2 / injector / quickstart < prev    next >
Text File  |  1994-07-09  |  1KB  |  64 lines

  1. .k ""
  2. FailAt 25
  3.  
  4. set bcol0 "*E[40m"
  5. set bcol2 "*E[42m"
  6. set bold  "*E[1m"
  7. set nbold "*E[22m"
  8.  
  9. set libname "errormsg.library"
  10. set libver  "1.0"
  11.  
  12. set libnamet "$bold$libname$nbold"
  13. set libvert "$bold($libver)$nbold"
  14.  
  15. Echo "*n     $bcol2 $libnamet Installation Script $bcol0*n"
  16.  
  17. assign INJECTOR: /Injector
  18.  
  19. Version >NIL: LIBS:$libname
  20.  
  21. If NOT ERROR
  22.     Echo "The following version of $libnamet is currently in LIBS:" 
  23.     Version LIBS:$libname
  24.     Echo " "
  25. Else
  26.     Echo "*nNo existing $libnamet in LIBS:*n"
  27. EndIf
  28.  
  29. Ask "Install $libnamet version: $libvert ?"
  30. If NOT WARN
  31.    Skip CopyPrefs
  32. EndIf
  33.  
  34. Copy INJECTOR:ErrorMsg/Libs/$libname LIBS:$libname
  35. Echo "*n$libnamet $libvert copied to your LIBS: directory."
  36.  
  37. Lab COPYPREFS
  38.  
  39. Ask "*nCopy sample prefs file to ENV:injector.prefs ?"
  40. If NOT WARN
  41.    Skip END
  42. EndIf
  43.  
  44. Copy INJECTOR:Prefs/Presets/Example.injector ENV:injector.prefs
  45. Echo "*nSample prefs file copied... "
  46. Echo "*nStart up Injector and press lcommand lshift P to review"
  47. Echo "the sample key assignments, then open up an editor, cli "
  48. Echo "window, etc. and try out some of the key sequences... "
  49. Lab END
  50.  
  51. Echo "*nInstallation complete.*n"
  52.  
  53. unset libname
  54. unset libver
  55. unset libnamet
  56. unset libvert
  57. unset bcol0
  58. unset bcol2
  59.  
  60. Echo "*n*E[3mClick the close gadget to continue! *E[23m*n"
  61.  
  62. Wait 2
  63. EndCLI >NIL:
  64.